﻿using System;
using System.Collections.Generic;
using Gfinder.Domain.Models;

namespace Gfinder.Domain.Repositories
{
    public interface IRepository<T> where T : ModelBase
    {
        T FindById(Guid id);
        List<T> FindAll();
        T Insert(T entity);
    }
}
